-
Home
-
coreActivity: Activity Logging for WordPress
-
1.4
-
Code
-
Classes
- IP
| Total Complexity |
59 |
| Dependencies |
0 |
| Dependents |
5 |
| Total lines |
303 |
| Lines of code |
212 |
| Logical lines of code |
118 |
| Comment lines |
5 |
| Methods |
15 |
| Properties |
4 |
Methods 15
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| is_cloudflare() |
A |
52 |
9 |
26 |
| visitor() |
A |
48 |
8 |
35 |
| is_private() |
S |
56 |
7 |
19 |
| is_ipv4_in_range() |
S |
51 |
6 |
25 |
| is_ipv6_in_range() |
S |
53 |
5 |
22 |
| validate() |
S |
58 |
5 |
16 |
| full_ip() |
S |
60 |
4 |
12 |
| all() |
S |
55 |
3 |
21 |
| server() |
S |
64 |
3 |
10 |
| is_in_range() |
S |
77 |
2 |
3 |
| is_private_regex() |
S |
71 |
2 |
6 |
| cleanup() |
S |
66 |
2 |
8 |
| is_v4() |
S |
78 |
1 |
3 |
| is_v6() |
S |
78 |
1 |
3 |
| random_ipv4() |
S |
77 |
1 |
3 |